package com.tgr.shortLink.project.common.constant;

/**
 * 描述：Redis Key常量类
 * 作者：小陶不慌张
 * 文件：RedisKeyConstant
 * 日期：2024/1/19 15:51
 */

public class RedisKeyConstant {

    /**
     * 短链接跳转前缀 Key
     */
    public static final String GOTO_SHORT_LINK_KEY = "short-link_goto_%s";
    /**
     * 短链接跳转锁前缀
     */
    public static final String LOCK_GOTO_SHORT_LINK_KEY = "short-link_lock_goto_%s";

    /**
     * 短链接空值跳转
     */
    public static final String GOTO_IS_NULL_SHORT_LINK_KEY = "short-link_is-null_goto_%s";
}
